package com.itheima.pojo;

import java.io.Serializable;

public class Address implements Serializable {

    private Integer id;
    private String hname;
    private String telephone;
    private String coordinate;
    private String img;
    private String address;

    public Address() {
    }

    public Address(Integer id, String hname, String telephone, String coordinate, String img, String address) {
        this.id = id;
        this.hname = hname;
        this.telephone = telephone;
        this.coordinate = coordinate;
        this.img = img;
        this.address = address;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getHname() {
        return hname;
    }

    public void setHname(String hname) {
        this.hname = hname;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public String getCoordinate() {
        return coordinate;
    }

    public void setCoordinate(String coordinate) {
        this.coordinate = coordinate;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    @Override
    public String toString() {
        return "Address{" +
                "id=" + id +
                ", hname='" + hname + '\'' +
                ", telephone='" + telephone + '\'' +
                ", coordinate='" + coordinate + '\'' +
                ", img='" + img + '\'' +
                ", address='" + address + '\'' +
                '}';
    }
}
